﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class _Default : System.Web.UI.Page 
{
    protected void Page_Load(object sender, EventArgs e)
    {
        lblIsPostBack.Text = IsPostBack.ToString();
    }
    protected void Button1_Click(object sender, EventArgs e)
    {
        Label1.Text = "1";
        Label2.Text = "1";
    }
    protected void Button2_Click(object sender, EventArgs e)
    {
        lblComment.Text = "Note that Label1 has EnableViewState=false";
    }
}